<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="javax.swing.JOptionPane"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Dang nhap</title>
 <link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
	<body>
		<div id="formLogin">
			<form action="dangNhap" method="post">
				<div id="wrapForm">
					<h3 align="center" style="color:white;">Login Form</h3>
					<div>
						<label for="userName">User Name: </label> 
						<input type='text' name="username" id="username" />
						<div style="clear:both;"></div>
					</div>
					
					<div>
						<label for="password">Password: </label> 
						<input type="password" name="password" id="password" />
						<div style="clear:both;"></div>
					</div>
					
					<div align="center">
						<input type="submit" value="Login" class="button" />
					</div>
				</div>
			</form>
			
			<div id="showError" align="center">
				<%
					try{
						String loginFail = request.getAttribute("logFail").toString();
						out.print(loginFail);
					}catch(Exception e){
						e.printStackTrace();
					}
				%>
			</div>
			
				
		</div>
		
		
	<body>
</html>